import {Component} from "@angular/core";
import {Router, ActivatedRoute} from "@angular/router";

@Component({
  selector: 'zm-record',
  templateUrl: './record.component.html',
  styleUrls: ['./record.component.css']
})
export class RecordComponent {
  par1;
  par2;
  constructor(private acRouter:ActivatedRoute){
    acRouter.params.subscribe(pars=>{
      this.par1=pars["award"];
      this.par2=pars["prize"];
    })
  }
}
